|
![](/i/fill.gif) |
"David Wallace" <dar### [at] earthlink net> wrote in message
news:3cce4737@news.povray.org...
> POV-RC3, Duron 800. 512 MB DDR, Win98SE
>
> Enter this code:
>.....
> #macro MakeSegs(Level, spl, fName)
> #local i = 0;
> #while ( i<nseg )
> #local pst = spl(i/nseg);
> #local pen = spl((i+1)/nseg);
> #write (pFile, concat(" cylinder {
>
<",vstr(3,pst,",",0,6),">,<",vstr(3,pen,",",0,6),">,",str(rb[Level],0,5),",
> 1 }\n")
^
> #write (pFile, concat(" sphere {
> <",vstr(3,pen,",",0,6),">,",str(rb[Level],0,5),", -1 }\n")
^
> #local i = i + 1;
> #end
> #end
>......
> POV screams: Stack overflow
Parentheses in both #write statements inside the #macro are not closed.
Post a reply to this message
|
![](/i/fill.gif) |